package danny.hoi.dao.export.cargo;

import danny.hoi.domain.export.cargo.ContractProduct;
import danny.hoi.domain.export.cargo.ContractProductExample;
import java.util.List;

import danny.hoi.domain.export.cargo.OutputQueryVo;
import org.apache.ibatis.annotations.Param;

public interface ContractProductDao {
    int deleteByPrimaryKey(String id);

    int insert(ContractProduct record);

    int insertSelective(ContractProduct record);

    List<ContractProduct> selectByExample(ContractProductExample example);

    ContractProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ContractProduct record, @Param("example") ContractProductExample example);

    int updateByExample(@Param("record") ContractProduct record, @Param("example") ContractProductExample example);

    int updateByPrimaryKeySelective(ContractProduct record);

    int updateByPrimaryKey(ContractProduct record);

    List<OutputQueryVo> selectByCompanyIdAndShipTime(String loginCompanyId, String inputDate);
}